package org.teachertools.web.forms;

import org.teachertools.web.struts.BaseActionForm;

/**
 * @author eveno
 *
 */
public class LivretForm extends BaseActionForm
{
    private static final long serialVersionUID = 6044854661627545321L;

    private Long id = null;
	private String nom = null;
    private Long idCategorie = null;
    private Long idMatiere = null;
    private Long[] competenceIds = null;

	/**
	 * @return Returns the id.
	 */
	public Long getId()
	{
		return this.id;
	}

	/**
	 * @param pId The id to set.
	 */
	public void setId(Long pId)
	{
		this.id = pId;
	}

	/**
	 * @return Returns the nom.
	 */
	public String getNom()
	{
		return this.nom;
	}

	/**
	 * @param pNom The nom to set.
	 */
	public void setNom(String pNom)
	{
		this.nom = pNom;
	}

	/**
     * @return the idCategorie
     */
    public Long getIdCategorie()
    {
    	return idCategorie;
    }

	/**
     * @param pIdCategorie the idCategorie to set
     */
    public void setIdCategorie(Long pIdCategorie)
    {
    	idCategorie = pIdCategorie;
    }

	/**
     * @return the idMatiere
     */
    public Long getIdMatiere()
    {
    	return idMatiere;
    }

	/**
     * @param pIdMatiere the idMatiere to set
     */
    public void setIdMatiere(Long pIdMatiere)
    {
    	idMatiere = pIdMatiere;
    }

	/**
	 * @return Returns the competenceIds.
	 */
	public Long[] getCompetenceIds()
	{
		return this.competenceIds;
	}

	/**
	 * @param pCompetenceIds The competenceIds to set.
	 */
	public void setCompetenceIds(Long[] pCompetenceIds)
	{
		this.competenceIds = pCompetenceIds;
	}

	/**
	 * @see org.teachertools.web.struts.BaseActionForm#reset()
	 */
	@Override
	public void reset()
	{
		id = null;
		nom = null;
		idCategorie = null;
		idMatiere = null;
		competenceIds = null;
	}
}
